package com.kaibes.module.user.pojo;

import java.time.LocalDate;

import com.kaibes.core.base.annotation.Description;
import com.kaibes.core.validator.NotBlankButNull;
import com.kaibes.module.user.GenderEnum;

import lombok.Data;

@Data
@Description("用户信息")
public class UserInfoUpdate {
    
    @Description("头像路径")
    private String image;
    @Description("名字")
    private String name;
    @Description("昵称")
    @NotBlankButNull(message = "用户昵称不能为空")
    private String nickname;
    @Description("性别")
    private GenderEnum gender = GenderEnum.FEMAL;
    @Description("生日")
    private LocalDate birth = LocalDate.now();
    @Description("地址")
    private String address;
    @Description("个人介绍")
    private String introduction;
    
}
    